-- GENERATED SPELL FOR [Hand of Ravenclaw] --


function spell0_1870(pUnit, Event) --@Touch of Ravenclaw,n/a--
pUnit:FullCastSpellOnTarget(3263,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1870', 6500, 1)
end

function Sorts_1870(pUnit, Event)
local choix_sorts_1870 = math.random(0, 0)
if choix_sorts_1870 == 0 then
pUnit:RegisterEvent('spell0_1870', 1, 1)
end
end

function mob1870_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1870', math.random(1500, 3000), 1)
end

function mob1870_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1870_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1870_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1870, 1, 'mob1870_Action')
RegisterUnitEvent(1870, 2, 'mob1870_Leave')
RegisterUnitEvent(1870, 3, 'mob1870_Kill')
RegisterUnitEvent(1870, 4, 'mob1870_Die')
